]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
osdWindow: Don't inherit from St.Widget
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 25 Jan 2022 19:31:07 +0000 (20:31 +0100)
committerMarge Bot <marge-bot@gnome.org>
Sat, 12 Feb 2022 15:28:52 +0000 (15:28 +0000)
We don't apply any styling to the toplevel OSD actor, so we can just
as well avoid the style machinery and use a plain actor.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2127>

js/ui/osdWindow.js

index bae4b862ad5733b3cb6c00044703a31b868728ce..ce33c069ce9ce5c8b905db3232efa69c4e6e3247 100644 (file)
@@ -42,7 +42,7 @@ class OsdWindowConstraint extends Clutter.Constraint {
 });
 
 var OsdWindow = GObject.registerClass(
-class OsdWindow extends St.Widget {
+class OsdWindow extends Clutter.Actor {
     _init(monitorIndex) {
         super._init({
             x_expand: true,